﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RegexTester.aspx.cs" Inherits="MyProject.Tools.RegexTester" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        正则表达式 - 提取测试
    </h2>
    <p></p>
    在此输入原文：<br />
    &nbsp;<asp:TextBox ID="txtbx_content" TextMode="MultiLine" runat="server" Height="149px"
        Width="694px">http://www.baidu.com,http://www.sina.com.cn</asp:TextBox>
    <br />
    <br />
    在此输入正则表达式：<br />
    &nbsp;<asp:TextBox ID="txtbx_rule" runat="server" Width="690px">((http://)?www\.(\w+)\.((com)|(cn)|(net))(\.cn)?/?)</asp:TextBox>
    <br />
    <br />
    <asp:Label ID="lbl_out" runat="server" Text="提取结果：<br/>"></asp:Label>
    <br />
    <br />
    <asp:Button ID="btn_Match" runat="server" Text="根据正则表达式提取" Width="129px" OnClick="btn_Match_Click" />
</asp:Content>
